package day3.lesson06

class Boy(var name:String,var faceValue:Int) extends  Comparable[Boy]{
  override def compareTo(o: Boy): Int = {

   -( this.faceValue  - o.faceValue)
  }
}

